package lab02.test13;

public class Test {
    public static void main(String[] args) {
        int n=10;
        double data[]=new double[n];
        for(int i=0;i<n;i++){
            data[i]=i;
        }
        ComputerAverage p=new Gymnastics(data);
        System.out.println(p.average(data));
        for(int i=0;i<n;i++){
            data[i]=i;
        }
        ComputerAverage s=new School(data);
        System.out.println(s.average(data));
    }
}
